{extend name="../front" /}
{block name="main"}
<main class="container">
  <div class="card card-with mb-3">
    <div class="card-body">
      <h2 class="card-title">最近更新</h2>
      <p class="card-text text-muted small mb-2">{$description}</p>
      {volist name="data" id="item"}
      {include file='item' /}
      {/volist}
    </div>
  </div>
  {if $pages}
  <div class="rounded bg-white p-3 mb-3">{$pages|raw}</div>
  {/if}
  <div class="card card-links">
    <div class="card-body">
      <h2 class="card-title">友情链接</h2>
      <div class="row row-cols-2 row-cols-md-6 g-2">
      {volist name=":model('common/Link','loglic')->items(10)" id="item"}
        <div class="col"><a class="text-muted" href="{$item.link_url}" target="_blank" title="{$item.link_info}">{$item.link_name|xfSubstr=0,9,false}</a></div>
      {/volist}
      </div>
    </div>
  </div>
</main>
{/block}